package cn.green.core.components.dialect.impls.mysql;

import cn.green.core.components.dialect.DatabaseDclDialect;
import cn.green.core.components.dialect.DatabaseDdlDialect;
import cn.green.core.components.dialect.DatabaseDmlDialect;
import cn.green.core.components.dialect.DatabaseDqlDialect;
import cn.green.core.components.dialect.getter.DialectGetter;
import cn.green.core.components.dialect.impls.mysql.dialects.MysqlDclDialect;
import cn.green.core.components.dialect.impls.mysql.dialects.MysqlDdlDialect;
import cn.green.core.components.dialect.impls.mysql.dialects.MysqlDmlDialect;
import cn.green.core.components.dialect.impls.mysql.dialects.MysqlDqlDialect;

/**
 * @author wang.yishu
 * @version 1.0
 * @className MysqlDialectGetter
 * @description mysql 方言获取器 Qtable自带
 * @date 2025/1/13 15:41
 */
public class MysqlDialectGetter implements DialectGetter {
    @Override
    public DatabaseDclDialect getDclDialect() {
        return new MysqlDclDialect();
    }

    @Override
    public DatabaseDdlDialect getDdlDialect() {
        return new MysqlDdlDialect();
    }

    @Override
    public DatabaseDmlDialect getDmlDialect() {
        return new MysqlDmlDialect();
    }

    @Override
    public DatabaseDqlDialect getDqlDialect() {
        return new MysqlDqlDialect();
    }
}
